const path = require('path');
const resolve = function(dir) {
  return path.join(__dirname, dir);
};
module.exports = {
  publicPath: '/',
  lintOnSave: false,
  outputDir: 'dist',
  assetsDir: 'static',
  chainWebpack: (config) => {
    config.resolve.alias
      .set('@', resolve('src'))
      .set('views', resolve('src/views'))
      .set('components', resolve('src/components'))
      .set('router', resolve('src/router'))
      .set('store', resolve('src/store'));
  },
};
